import request from '@/utils/request'
import { defineStore } from 'pinia'
export const useCateStore = defineStore('category', () => {
  const getfirstCate = () => {
    request
      .get<{
        list: IFcate[]
      }>('category')
      .then((result) => {
        console.log(result)
      })
  };
  return{
    getfirstCate
  }
})
